﻿using System.Collections;
using System.Security.Permissions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace SiteFox.WebParts.Multimedia
{
    [AspNetHostingPermission(SecurityAction.Demand,
      Level = AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(SecurityAction.InheritanceDemand,
      Level = AspNetHostingPermissionLevel.Minimal)]
    
    public class VideoGalleryWP : WebPart
    {
        private string _FolderUrl = "";
        [Personalizable(true)]
        [WebBrowsable(true)]
        [WebDescription("Enter folder url.")]
        [WebDisplayName("FolderUrl")]
        public string FolderUrl
        {
            get { return _FolderUrl; }
            set { _FolderUrl = value; }
        }

        private string _PreviewImageUrl = "";
        [Personalizable(true)]
        [WebBrowsable(true)]
        [WebDescription("Enter preview image url.")]
        [WebDisplayName("PreviewImageUrl")]
        public string PreviewImageUrl
        {
            get { return _PreviewImageUrl; }
            set { _PreviewImageUrl = value; }
        }

        protected override void CreateChildControls()
        { 
            
        }
    }
}
